<?php
namespace app\app\search;

trait VersionTrait {
	public function new($model, $post) {
		if($post['enforce'] !== '') {
			$model->where('enforce', $post['enforce']);
		}
		return $model;
	}
}
